package PO;

import java.io.Serializable;
import java.util.ArrayList;
import Promotion.DiscountsForUser;

@SuppressWarnings("serial")
public class DiscountsForUserPO  extends PO implements Serializable{
	
	private ArrayList<DiscountsPO>  DiscountsForUserlist=new ArrayList<>();
	
	public DiscountsForUserPO(DiscountsForUser dis){
		this.DiscountsForUserlist=new ArrayList<DiscountsPO>();
		for(int i=0;i<dis.getDiscountsForUserlist().size();i++)
			DiscountsForUserlist.add(new DiscountsPO(dis.getDiscountsForUserlist().get(i)));
	}

	public DiscountsForUserPO(){}
	
	//getter,setter
	public ArrayList<DiscountsPO> getDiscountsForUserlist() {
		return DiscountsForUserlist;
	}

}
